package cn.tedu.boyou.common.util;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.HashMap;
import java.util.Map;

@Getter
@Setter
@ToString
public class CommendCondition {

    public static final Map<Integer,CommendCondition> COMMEND_STAR= new HashMap<>();//点评的星星数

    static{
        COMMEND_STAR.put(1,new CommendCondition(1,2));
        COMMEND_STAR.put(3,new CommendCondition(3,3));
        COMMEND_STAR.put(4,new CommendCondition(4,5));
    }


    private int maxStar;
    private int minStar;

    public CommendCondition(int minStar,int maxStar){
        this.minStar = minStar;
        this.maxStar = maxStar;
    }

}
